package cn.wx.read.neo4j.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import cn.wx.common.persistence.base.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import cn.wx.read.neo4j.service.ComputeFieldService;
import cn.wx.common.persistence.web.ResponseData;
/**
 *   @description : ScholarMaxData 控制器
 *   ---------------------------------
 *   @author  
 *   @since 2018-11-13
 */
@RestController
@RequestMapping("/computeField")
public class ComputeFieldController extends BaseController {

    @Autowired
    private ComputeFieldService computeFieldService;


    /**
     * @description : 通过id更新ScholarMaxData
     * ---------------------------------
     * @author :  
     * @since : Create in 2018-11-13
     */
    @RequestMapping(value = "/modifyFieldByReadCsv", method = RequestMethod.POST)
    public ResponseData modifyFieldByReadCsv() throws Exception {
    	computeFieldService.modifyFieldByReadCsv();
        return success();
    }
    

}